//
//  SingleCreateModel.m
//  Shengzhuli
//
//  Created by 卡忙科技 on 16/8/13.
//  Copyright © 2016年 kamangkeji. All rights reserved.
//

#import "SingleCreateModel.h"

@implementation SingleCreateModel

- (instancetype)initWithDict:(NSDictionary *)dict
{
    if (self = [super init]) {
        self.sumPrice = [dict[@"sumPrice"] doubleValue];
        self.payNumber = dict[@"payNumber"];
        self.userAccountBalance = [dict[@"userAccountBalance"] floatValue];
    }
    return self;
}

+ (instancetype)objectWithDict:(NSDictionary *)dict
{
    return [[SingleCreateModel alloc]initWithDict:dict];
}

@end
